package ace.oauth2.model.response;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @author Caspar
 * @contract 279397942@qq.com
 * @create 2020/7/2 22:32
 * @description
 */
@Data
@Builder
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
public class OAuth2CheckAccessTokenResponse {
    /**
     * 是否有效
     */
    private Boolean active;
    private List<String> scope;
    private Long expireInSeconds;
    private String userName;
    /**
     * token 类型
     */
    private String clientId;

    private String accountId;
    private String tenantId;
}
